C (147/254)

From:Alexander Niven-Jenkins
Date:12 Apr 00 at 18:53:14
Subject:Starting from WB...

Hiya,

OK this is using StormC 3 and stormamiga.lib.

Is this correct?

void main( void )
{
extern struct WBStartup *WBMsg;
// code here
}

My question is how do I determine WB startup compared to CLI? I thought
I could just do if( WBMsg ) but this doesn't appear to work?

Kind regards...

Alex



Cremlin Software - http://www.cremlinsoftware.org
Founder, lead programmer - ghandi@cremlinsoftware.org
Production, programmer - anj@cremlinsoftware.org

------------------------------------------------------------------------
GET WHO WANTS TO BE A MILLIONAIRE FREE! GET THE OFFICIAL COMPANION
TO TELEVISION'S HOTTEST GAME SHOW PHENOMENON PLUS 5 MORE BOOKS FOR
$2. Click for details.
http://click.egroups.com/1/3014/1/_/451227/_/955562101/
------------------------------------------------------------------------